package com.ygqh.baby.observer;

import com.ygqh.baby.ao.PayType;

import java.math.BigDecimal;

public class OrderPayModel {
	
	private Long orderId;

	private BigDecimal totalPrice;

	private PayType payType;

	private String paymentCode;

	public OrderPayModel() {
		super();
	}

	public OrderPayModel(Long orderId, BigDecimal totalPrice, PayType payType, String paymentCode) {
		super();
		this.orderId = orderId;
		this.totalPrice = totalPrice;
		this.payType = payType;
		this.paymentCode = paymentCode;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public PayType getPayType() {
		return payType;
	}

	public void setPayType(PayType payType) {
		this.payType = payType;
	}

	public String getPaymentCode() {
		return paymentCode;
	}

	public void setPaymentCode(String paymentCode) {
		this.paymentCode = paymentCode;
	}

	@Override
	public String toString() {
		return "OrderPayModel{" +
				"orderId=" + orderId +
				", totalPrice=" + totalPrice +
				", payType=" + payType +
				", paymentCode='" + paymentCode + '\'' +
				'}';
	}
}
